filename=thesis

pdf: 
	pdflatex ${filename}
	bibtex ${filename}
	makeglossaries ${filename}
	pdflatex ${filename}
	pdflatex ${filename}

read:
	evince ${filename}.pdf &

all:	pdf read

clean:
	rm -f ${filename}.ps ${filename}.pdf ${filename}.log ${filename}.aux ${filename}.out ${filename}.dvi ${filename}.bbl ${filename}.blg ${filename}.glg ${filename}.glo ${filename}.gls ${filename}.ist

